<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <title>认识MVVM</title>
        <script type="text/javascript" src="../js/vue.js"></script>
    </head>
    <body>
        <div id="demo">

            <h1>一言: {{name}}</h1>
            <h1>地点: {{address}}</h1>
            <h1>测试1：{{$options}}</h1>
			<h1>测试2：{{_isMounted}}</h1>
			<h1>测试3：{{_c}}</h1>
			<h1>测试4：{{$emit}}</h1>
			<h1>测试5：{{a}}</h1>
			<h1 :a="a">你好1</h1>
			<h1 :a="$emit">你好2</h1>
            
        </div>
    </body>

    <script type="text/javascript">
        Vue.config.productionTip = false
        Vue.prototype.a = 10000;
        const vm = new Vue({
            el: '#demo',
            data: {
                name: '强大使我快乐。',
                address: '中国'
            }
        })

        console.log(vm);
        
    </script>
</html>